//package com.welike.shibo.controller.admin;
//
//import com.welike.shibo.controller.BaseController;
//import com.welike.shibo.eneity.Admin;
//import com.welike.shibo.service.UserService;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Controller;
//import org.springframework.ui.Model;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//
//import java.text.ParseException;
//
///**
// * @author fangyu
// * @version v1.0.0
// * @since 2019-09-02 18:39
// */
//
//@Slf4j
//@Controller
//@RequestMapping(value = "/admin/setting")
//public class AdminSystemController extends BaseController {
//
//    @Autowired
//    private UserService userService;
//
//    @GetMapping(value = {""})
//    public String system(Model model) throws ParseException {
//        log.info("定向系统管理");
//        Admin admin = (Admin) getUser4Session();
//        if (admin == null){
//            return "admin/login";
//        }
//        return "admin/setting";
//    }
//
//}
